<template>
  <div class="card">
    <div class="add"><span>较上日+</span>{{ data.add }}</div>
    <div class="count">
      {{ data.count }}
    </div>
    <div class="label">
      {{ data.label }}
    </div>
  </div>
</template>

<script>
export default {
  name: 'detail',
  props: {
    data: {
      default: {
        add: 0,
        count: 0,
        label: ' ',
      },
    },
  },
};
</script>

<style lang="stylus" scoped>
.card
  width 150px
  background-color: white;
  text-align center
  .add
    padding-top: 12px;
    color: #222;
    font-size: 17px;
    line-height: 24px;
    font-weight: 500;
  .count
    height: auto;
    line-height: 46px;
    color: #222;
    font-size: 30px;
    margin-bottom: 8px;
    font-weight: 600;
    padding-top: 12px;
  .label
    font-size: 22px;
    height: 54px;
    line-height: 54px;
    color: #222;
    background #eeeeee
    font-weight: 500;
</style>
